Data Structures in the Icon Programming Language

نویسنده

  • Ralph E. Griswold
چکیده

The lcon programming language provides a rich variety of data structures with sophisticated facilities: sets of arbitrary values, tables with associative lookup, lists with positional and deque access mechanisms, and records that extend the type repertoire ofthe language. Instances ofthese structures are created at run-time and grow and shrink as values are added to or removed from them. Storage management is automatic. This paper describes these structures and their use in combination with lcon's goal-directed evaluation mechanism. Examples illustrate the use of pointer semantics and heterogeneity and how the natural geometrical interpretation of structures like trees and graphs in the problem domain is imaged in the programming domain. The work described in this paper u/as supported by National Science Foundation Grants MCS-8 l0 I 9 I ó, DCR-840 I 83 l, DCR-850201 5, and CCR-87 I 3690. @ Computing Systems,Yol.2. No. 4 . Fall 1989 339

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Overview of the Icon Programming Language ; Version 9

Icon is a high-level programming language with extensive facilities for processing strings and structures. Icon has several novel features, including expressions that may produce sequences of results, goal-directed evaluation that automatically searches for a successful result, and string scanning that allows operations on strings to be formulated at a high conceptual level. Icon also provides ...

متن کامل

The Design and Implementation of Dynamic Hashing for Sets and Tables in Icon

Two key features in the Icon programming language are tables and sets. An Icon program may use one large set or table, or thousands of small ones. To improve space and time performance for these diverse uses, their hashed data structures were reimplemented to dynamically resize during execution, reducing the minimum space requirement and achieving constant-time access to any element for virtual...

متن کامل

Introspective Study of Emotion Icon in Public Chat as a Gesture of Texting

An emotion icon, better known as emoticon is a metacommunicative pictorial representation of a facial expression that, in the absence of body language and prosody, serves to draw a receiver's attention to the tenor or temper of a sender's nominal verbal communication, changing and improving its interpretation. The present study investigates the use of these nonverbal cues in whatsapp public cha...

متن کامل

Programming in Icon; Part I — Programming with Generators Programming in Icon; Part I — Programming with Generators

1. Introduction The Icon programming language [1] contains a number of features that are unusual and that are not found in most other programming languages. As a result, Icon encourages programming techniques that are distinctly different from those that are possible in more conventional programming languages. Not all of these techniques are obvious. Indeed, experience with other programming la...

متن کامل

Expression Evaluation in Icon*

1. Introduction Icon [1,2] is a high-level, general-purpose programming language that emphasizes string and structure processing. Icon bears a heritage from SNOBOL4 [3] and SL5 [4] and is partly the result of attempts to improve on these languages and to correct some of their notable defects.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Computing Systems

دوره 2  شماره 

صفحات  -

تاریخ انتشار 1989